package com.example.demo.service;

import com.example.demo.entity.BackResponseEntity;
import com.example.demo.entity.requestJson.ABookInformationReq;
import com.example.demo.entity.requestJson.AUpdateBookInfoReq;
import com.example.demo.entity.requestJson.DeleteReq;
import com.example.demo.entity.responseJson.ABookBaseInfoRes;
import com.example.demo.entity.responseJson.AQueryBookRes;
import com.example.demo.entity.responseJson.ListResult;

import java.util.List;

/**
 * @author : 杨丽辉
 * @date : 2021/3/3 11:07
 * @description:
 */
public interface AuthorCreationService {
    BackResponseEntity<Object> insertInformation(ABookInformationReq aBookInformationReq);
    BackResponseEntity<Object> updateInformation(AUpdateBookInfoReq aUpdateBookInfoReq);
    BackResponseEntity<Object> deleteInformation(DeleteReq deleteReq);
    BackResponseEntity<AQueryBookRes> queryMoreBookInfo(DeleteReq deleteReq);
    BackResponseEntity<ListResult<List<ABookBaseInfoRes>>> queryBaseBookInfo(DeleteReq deleteReq);

}
